import Vue from 'vue' 
/* Layout */
import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)

export default { 
	routes:[ 
	  {
	      path: '/mdp/arc/mate',
	      component: Layout,
	      name: '素材',
	      meta: {
	          title: 'MaterialMng',
	          icon: 'material'
	      },
	      iconCls: 'fa el-icon-menu',
	      //leaf: true,//只有一个节点
	      children: [
	    		{ path: 'archive/ArchiveAdd', component: _import('mdp/arc/archive/ArchiveAddRoute'), name: '创建文章', meta: { title: 'ArchiveAdd' } },
	      	{ path: 'archive/index', component: _import('mdp/arc/archive/archive/Index'), name: '文章管理', meta: { title: 'ArcIndex' } },
	      	{ path: 'archive/ArchiveDetail/:id', component: _import('mdp/arc/archive/archive/Detail'), name: '浏览文章', meta: { title: 'ArchiveDetail' }, hidden: true},	      	
	      	{ path: 'archive/comment/index',component:_import('mdp/arc/archive/archiveComment/Index'),name:'评论管理', meta: { title: 'ArchiveCommentMng' }},
	      	//{ path: 'archive/ArchiveMng', component: _import('mdp/arc/archive/ArchiveMng'), name: '文档查阅', meta: { title: 'ArchiveMngQuery' }  },
 	      	{ path: 'att/index', component: _import('mdp/arc/att/attachment/Index'), name: '附件管理', meta: { title: 'ArchiveAttachmentMng' } },
			{ path: 'category/index', component: _import('mdp/arc/pub/category/Index'), name: '公共分类定义', meta: { title: 'CategoryTreeTable' } }, 
			{ path: 'tag/index', component: _import('mdp/arc/pub/tag/Index'), name: '标签定义', meta: { title: '标签管理' } },
 			{ path: 'image/index',component:_import('mdp/arc/img/image/Index'),name:'图片管理', meta: { title: 'ImageMng' }},
			//{ path: 'image/MovieMng',component:_import('mdp/arc/image/MovieMng'),name:'视频管理', meta: { title: '视频管理' }},
	        // { path: 'image/ImageMng1',component:_import('mdp/arc/image/ImageMng1'),name:'图片管理1', meta: { title: 'ImageMng1' }},
	        { path: 'img/category/index',component:_import('mdp/arc/img/imageCategory/Index'),name:'图片分类定义', meta: { title: 'ImageCategoryMng' }},
			//{ path: 'imageCategory/ImageCategoryTree',component:_import('mdp/arc/imageCategory/ImageCategoryTree'),name:'图片分类定义10', meta: { title: 'ImageCategoryTree' }}
	      ]
		}, 
		/**
		{
			path: '/mdp/arc',
			component: Layout,
			name: '图片素材',
			meta: {
					title: 'arc',
					icon: 'example'
			},
			iconCls: 'fa el-icon-menu',
			//leaf: true,//只有一个节点
			children: [
			{ path: 'archive/ArchiveAdd', component: _import('mdp/arc/archive/ArchiveAdd'), name: '创建文章', meta: { title: 'ArchiveAdd' } },
				{ path: 'archive/ArchiveMng', component: _import('mdp/arc/archive/ArchiveMng'), name: '文章管理', meta: { title: 'ArcIndex' } },
				{ path: 'archive/ArchiveDetail/:id', component: _import('mdp/arc/archive/ArchiveDetail'), name: '浏览文章', meta: { title: 'ArchiveDetail' }, hidden: true},	      	
				{ path: 'archive/archiveComment/ArchiveCommentMng',component:_import('mdp/arc/archiveComment/ArchiveCommentMng'),name:'评论管理', meta: { title: 'ArchiveCommentMng' }},
				//{ path: 'archive/ArchiveMng', component: _import('mdp/arc/archive/ArchiveMng'), name: '文档查阅', meta: { title: 'ArchiveMngQuery' }  },
 				{ path: 'archiveAttachment/ArchiveAttachmentMng', component: _import('mdp/arc/archiveAttachment/ArchiveAttachmentMng'), name: '附件管理', meta: { title: 'ArchiveAttachmentMng' } },
				{ path: 'category/CategoryTreeTable', component: _import('mdp/arc/category/CategoryTreeTable'), name: '文章分类定义', meta: { title: 'CategoryTreeTable' } },
				//{ path: 'channel/ChannelMng',component:_import('mdp/arc/channel/ChannelMng'),name:'频道定义', meta: { title: 'ChannelMng' }}
			]
	},   */
	  /****/
	  {
	      path: '/mdp/arc/aq',
	      component: Layout,
	      name: '咨询中心',
	      meta: {
	          title: 'aq',
	          icon: 'consult'
	      },
	      iconCls: 'fa el-icon-menu',
	      //leaf: true,//只有一个节点
	      children: [
	    	{ path: 'question/index', component: _import('mdp/arc/aq/aqQuestion/Index'), name: '咨询管理', meta: { title: 'AqQuestionMng' } },
			{ path: 'comment/index', component: _import('mdp/arc/aq/aqComment/Index'), name: '评论管理', meta: { title: 'AqCommentMng' } },

	      	{ path: 'faq/index', component: _import('mdp/arc/aq/aqFaq/Index'), name: '常见问题', meta: { title: 'AqFaqMng' }},
	      	
	      ]
	  },

	  {
		path: '/mdp/arc/ad',
		component: Layout,
		name: '广告中心',
		meta: {
			title: '广告中心',
			icon: 'consult'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
		  { path: 'advert/index', component: _import('mdp/arc/ad/advert/AdvertMng'), name: '广告管理', meta: { title: '广告管理' } },
		  { path: 'position/index', component: _import('mdp/arc/ad/position/PositionMng'), name: '广告位置', meta: { title: '广告位置' } },
		   
			
		]
	},

	  {
		path: '/mdp/arc/doc',
		component: Layout,
		name: '公文中心',
		meta: {
			title: '公文中心',
			icon: 'official-document'
		},	
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
		  { path: 'documentCentre', component: _import('mdp/arc/doc/documentCentre'), name: '公文中心', meta: { title: '公文中心' } },
		  { path: 'selectDocument', component: _import('mdp/arc/doc/selectDocument'), name: '公文库', meta: { title: '公文库' } },
		  { path: 'docWordName/DocWordNameMng', component: _import('mdp/arc/doc/docWordName/DocWordNameMng'), name: '字名管理', meta: { title: '字名管理' } },
		  { path: 'docTopic/DocTopicMng', component: _import('mdp/arc/doc/docTopic/DocTopicMng'), name: '主题管理', meta: { title: '主题管理' } },
		  { path: 'docType/DocTypeMng', component: _import('mdp/arc/doc/docType/DocTypeMng'), name: '种类管理', meta: { title: '种类管理' } },
		]
	},
	{
		path: '/mdp/arc',
		component: Layout,
		name: '新闻中心',
		meta: {
			title: '新闻中心',
			icon: 'news'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
			{ path: 'news/NewsAdd', component: _import('mdp/arc/news/NewsAdd'), name: '创建新闻', meta: { title: '创建新闻' } },
			{ path: 'news/newsMng', component: _import('mdp/arc/news/NewsMng'), name: '新闻管理', meta: { title: '新闻管理' } },
		]
	}, 
	{
		path: '/mdp/arc',
		component: Layout,
		name: '内部公告',
		meta: {
			title: '内部公告',
			icon: 'news'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
			{ path: 'innernotice/NoticeAdd', component: _import('mdp/arc/innernotice/NoticeAdd'), name: '创建公告', meta: { title: '创建公告' } },
			{ path: 'notice/noticeMng', component: _import('mdp/arc/innernotice/NoticeMng'), name: '公告管理', meta: { title: '公告管理' } },
		]
	},
	{
		path: '/mdp/arc',
		component: Layout,
		name: '平台公告',
		meta: {
			title: '平台公告',
			icon: 'news'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
			{ path: 'platformnotice/NoticeAdd', component: _import('mdp/arc/platformnotice/NoticeAdd'), name: '创建公告', meta: { title: '创建公告' } },
			{ path: 'platformnotice/NoticeMng', component: _import('mdp/arc/platformnotice/NoticeMng'), name: '公告管理', meta: { title: '公告管理' } },
		]
	},
	{
		path: '/mdp/arc',
		component: Layout,
		name: '社区论坛',
		meta: {
			title: '社区论坛',
			icon: 'news'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
			{ path: 'forum/ForumAdd', component: _import('mdp/arc/forum/ForumAdd'), name: '创建文章', meta: { title: '创建文章' } },
			{ path: 'forum/ForumMng', component: _import('mdp/arc/forum/ForumMng'), name: '文章管理', meta: { title: '文章管理' } },
		]
	},
	{
		path: '/mdp/arc',
		component: Layout,
		name: '知识库',
		meta: {
			title: '知识库',
			icon: 'news'
		},
		iconCls: 'fa el-icon-menu',
		//leaf: true,//只有一个节点
		children: [
			{ path: 'knowledge/KnowledgeAdd', component: _import('mdp/arc/knowledge/KnowledgeAdd'), name: '创建文章', meta: { title: '创建文章' } },
			{ path: 'knowledge/KnowledgeMng', component: _import('mdp/arc/knowledge/KnowledgeMng'), name: '文章管理', meta: { title: '文章管理' } },
		]
	},

	{
		path: '/mdp/arc/doc/docArchive/DocArchiveAdd',
		name: '政府办公厅发文',
		component: _import('mdp/arc/doc/docArchive/DocArchiveAdd')
	},

	{
		path: '/mdp/arc/doc/docArchive/WorkSignAdd',
		name: '工作签报',
		component: _import('mdp/arc/doc/docArchive/WorkSignAdd')
	},

	{
		path: '/mdp/arc/doc/docArchive/DocFromSuperior',
		name: '上级单位来文',
		component: _import('mdp/arc/doc/docArchive/DocFromSuperior')
	},

	{
		path: '/mdp/arc/doc/docArchive/AdministrativeRecord',
		name: '行政收文',
		component: _import('mdp/arc/doc/docArchive/AdministrativeRecord')
	}
	  
	]
}
